<?php
namespace app\api\validate;

use think\Validate;

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/10/6 0006
 * Time: 下午 3:11
 */
class Order extends Validate
{
    protected $rule = [
        'uid' => 'require',
        'question_no' => 'require',
        'pay_type' => 'require',
        'order_type' => 'require',
    ];

    protected $message = [
        'uid.require' => '当前会员不存在',
        'question_no.require' => '关联题目不存在',
        'pay_type.require' => '请选择支付方式',
        'order_type.require' => '订单类型不存在',
    ];
    

}